﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Media;
using System.Text;
using System.Windows.Forms;

namespace ChatBuddy.Classes.Helpers
{
    class SoundHelper
    {
        public void PlaySound(string sound)
        {
            if (sound == "RANDOM")
            {
                new SoundPlayer(Path.Combine(Application.StartupPath, @"plugins\ChatBuddy\bin\Sound\murloc.wav")).Play();
            }
            if (sound == "GM")
            {
                new SoundPlayer(Path.Combine(Application.StartupPath, @"plugins\ChatBuddy\bin\Sound\gm.wav")).Play();
            }
        }
    }
}
